package com.openlogic.api.logic.entity;

import java.util.List;

import org.noear.solon.validation.annotation.NotNull;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.openlogic.common.core.web.domain.BaseEntity;

/**
* @ClassName: RuleModelDeploy
* @Description: 规则模型部署实体
* @author weiyongpeng
* @date 2024年7月14日 上午9:25:27
 */
@Table("RULE_MODEL_DEPLOYMENT")
public class RuleModelDeploy extends BaseEntity{
	
	private static final long serialVersionUID = 1L;
	
	private String id;
	
	/**
	 * 规则模板标识
	 */
	private String ruleModelKey;
	
	/**
	 * 规则名称
	 */
	@NotNull
	private String ruleModelName;
	
	/**
	 * 前端规则画布解析json字符串
	 */
	private String ruleModelValue;
	
	/**
	 * 前端规则画布原始json
	 */
	private String ruleRawValue;
	
	/**
	 * 规则版本号
	 */
	private String ruleModelVersion;
	
	/**
	 * 规则解析后json字符串
	 */
	private String ruleResValue;
	
	/**
	 * 决策类型
	 */
	private String ruleType;
	
	/**
	 *  状态（0 启用 1 禁用） 
	 */
    private String status;
	
	/**
	 * 所属机构
	 */
	@Column(ignore = true)
	private String belongOrgName;
	
	@Column(ignore = true)
	private String ruleNum;
	
	@Column(ignore = true)
	private String ruleModelIdentify;
	
	@Column(ignore = true)
	private List<RuleModel> ruleModelList;

	public String getRuleModelKey() {
		return ruleModelKey;
	}

	public void setRuleModelKey(String ruleModelKey) {
		this.ruleModelKey = ruleModelKey;
	}

	public String getRuleModelName() {
		return ruleModelName;
	}

	public void setRuleModelName(String ruleModelName) {
		this.ruleModelName = ruleModelName;
	}

	public String getRuleModelValue() {
		return ruleModelValue;
	}

	public void setRuleModelValue(String ruleModelValue) {
		this.ruleModelValue = ruleModelValue;
	}

	public String getRuleModelVersion() {
		return ruleModelVersion;
	}

	public void setRuleModelVersion(String ruleModelVersion) {
		this.ruleModelVersion = ruleModelVersion;
	}
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRuleResValue() {
		return ruleResValue;
	}

	public void setRuleResValue(String ruleResValue) {
		this.ruleResValue = ruleResValue;
	}

	public String getRuleNum() {
		return ruleNum;
	}

	public void setRuleNum(String ruleNum) {
		this.ruleNum = ruleNum;
	}

	public String getBelongOrgName() {
		return belongOrgName;
	}

	public void setBelongOrgName(String belongOrgName) {
		this.belongOrgName = belongOrgName;
	}

	public String getRuleRawValue() {
		return ruleRawValue;
	}

	public void setRuleRawValue(String ruleRawValue) {
		this.ruleRawValue = ruleRawValue;
	}

	public String getRuleModelIdentify() {
		return ruleModelIdentify;
	}

	public void setRuleModelIdentify(String ruleModelIdentify) {
		this.ruleModelIdentify = ruleModelIdentify;
	}

	public List<RuleModel> getRuleModelList() {
		return ruleModelList;
	}

	public void setRuleModelList(List<RuleModel> ruleModelList) {
		this.ruleModelList = ruleModelList;
	}

	public String getRuleType() {
		return ruleType;
	}

	public void setRuleType(String ruleType) {
		this.ruleType = ruleType;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
}
